home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / permissions.xul < prev    next >
Extensible Markup Language  |  2006-07-18  |  4KB  |  77 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  5. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?> 
  6.  
  7. <!DOCTYPE dialog SYSTEM "chrome://browser/locale/preferences/permissions.dtd" >
  8.  
  9. <window id="PermissionsDialog" class="windowDialog"
  10.         windowtype="Browser:Permissions"
  11.         title="&window.title;"
  12.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         style="width: &window.width;;"
  14.         onload="gPermissionManager.onLoad();"
  15.         onunload="gPermissionManager.uninit();"
  16.         persist="screenX screenY width height">
  17.  
  18.   <script src="chrome://browser/content/preferences/permissionsutils.js"/>
  19.   <script src="chrome://browser/content/preferences/permissions.js"/>
  20.  
  21.   <stringbundle id="bundlePreferences"
  22.                 src="chrome://browser/locale/preferences/preferences.properties"/>
  23.  
  24.   <keyset>
  25.     <key key="&windowClose.key;" modifiers="accel" oncommand="window.close();"/>
  26.   </keyset>
  27.   
  28.   <vbox class="contentPane" flex="1">
  29.     <description id="permissionsText" control="url"/>
  30.     <separator class="thin"/>
  31.     <label control="url" value="&address.label;"/>
  32.     <hbox align="start">
  33.       <textbox id="url" flex="1" 
  34.                oninput="gPermissionManager.onHostInput(event.target);"
  35.                onkeypress="gPermissionManager.onHostKeyPress(event);"/>
  36.     </hbox>
  37.     <hbox pack="end">
  38.       <button id="btnBlock" disabled="true" label="&block.label;" accesskey="&block.accesskey;"
  39.               oncommand="gPermissionManager.addPermission(nsIPermissionManager.DENY_ACTION);"/>
  40.       <button id="btnSession" disabled="true" label="&session.label;" accesskey="&session.accesskey;"
  41.               oncommand="gPermissionManager.addPermission(nsICookiePermission.ACCESS_SESSION);"/>
  42.       <button id="btnAllow" disabled="true" label="&allow.label;" default="true" accesskey="&allow.accesskey;"
  43.               oncommand="gPermissionManager.addPermission(nsIPermissionManager.ALLOW_ACTION);"/>
  44.     </hbox>
  45.     <separator class="thin"/>
  46.     <tree id="permissionsTree" flex="1" style="height: 18em;"
  47.           hidecolumnpicker="true"
  48.           onkeypress="gPermissionManager.onPermissionKeyPress(event)"
  49.           onselect="gPermissionManager.onPermissionSelected();">
  50.       <treecols>
  51.         <treecol id="siteCol" label="&treehead.sitename.label;" flex="3"
  52.                 onclick="gPermissionManager.onPermissionSort('rawHost');" persist="width"/>
  53.         <splitter class="tree-splitter"/>
  54.         <treecol id="statusCol" label="&treehead.status.label;" flex="1"
  55.                 onclick="gPermissionManager.onPermissionSort('capability');" persist="width"/>
  56.       </treecols>
  57.       <treechildren/>
  58.     </tree>
  59.   </vbox>
  60.   <hbox align="end">
  61.     <hbox class="actionButtons" flex="1">
  62.       <button id="removePermission" disabled="true"
  63.               accesskey="&removepermission.accesskey;"
  64.               icon="remove" label="&removepermission.label;"
  65.               oncommand="gPermissionManager.onPermissionDeleted();"/>
  66.       <button id="removeAllPermissions"
  67.               icon="clear" label="&removeallpermissions.label;"
  68.               accesskey="&removeallpermissions.accesskey;" 
  69.               oncommand="gPermissionManager.onAllPermissionsDeleted();"/>
  70.       <spacer flex="1"/>
  71.       <button oncommand="close();" icon="close"
  72.               label="&button.close.label;" accesskey="&button.close.accesskey;"/>
  73.     </hbox>
  74.     <resizer dir="bottomright"/>
  75.   </hbox>
  76. </window>
  77.